package demo.enumDemo;

/**
 * @author GuoFei
 * @date 2018/9/4 16:13
 */
public enum Day {
    MONDAY("星期一"),
    TUESDAY("星期二"),
    WEDNESDAY("星期三"),
    THURSDAY("星期四"),
    FRIDAY("星期五"),
    SATURDAY("星期六"),
    SUNDAY("星期日");

    //中文描述
    private String desc;

    Day(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString(){
        return desc;
    }
}
